package com.ddstation.statement.constant;

public enum IllegalDailyCheckEnum {
    QIXIE(101, "器械消毒登记异常数"), CHANGSUO(102, "场所消毒登记异常数"), YIFEI(201, "医废登记异常数"),
    WUSHUI(301, "污水检测报告异常数"), YULV(302, "余氯日检登记异常数"), QIJIAN(303, "器械消毒检测报告异常数");

    private int subTypeCode;
    private String name;

    private IllegalDailyCheckEnum(int subTypeCode, String name) {
        this.subTypeCode = subTypeCode;
        this.name = name;
    }

    public int getSubTypeCode() {
        return subTypeCode;
    }

    public String getName() {
        return name;
    }

    public static IllegalDailyCheckEnum val(int subTypeCode) {
        for (IllegalDailyCheckEnum illegalDailyCheckEnum: values()) {
            if (subTypeCode == illegalDailyCheckEnum.getSubTypeCode()) {
                return illegalDailyCheckEnum;
            }
        }
        return null;
    }
}
